<?php
	if($this -> listeralbum["photoselec"] != null)
	{
		?><div class = 'bloc_image'><?php	
		$ligne = $this -> listeralbum["photoselec"];
		?><img title = "<?php echo $ligne -> PHOTO_COMMENTAIRE; ?>" src = <?php echo "/images/".$ligne -> PHOTO_ADRESSE; ?>> <br/><br/> <?php
		echo "<b>Commentaire : </b> <br/>";
		echo $ligne -> PHOTO_COMMENTAIRE;
		?></div><?php
		
		?><div class = 'bloc_album'><?php
		foreach ($this -> listeralbum["vips"] as $ligne)
		{ if($ligne!=null)
			{ ?>
				<a href = "<?php echo $this -> url(array('controller' => 'album', 'action' => 'listeralbum', 'PHOTO_NUMERO' => $ligne -> PHOTO_NUMERO, 'VIP_NUMERO' => $ligne -> VIP_NUMERO)); ?>">
				<img title = "<?php echo $ligne -> PHOTO_COMMENTAIRE; ?>" height = "64 px" src = <?php echo "/images/".$ligne -> PHOTO_ADRESSE; ?>></a><?php
			echo " ";
			}
		}
		?></div><?php
	}
	else
	{
		?><div class = 'album'><?php
		foreach ($this -> listeralbum["vips"] as $ligne)
		{
			
			if($ligne!=null)
			{
			?><a href = "<?php echo $this -> url(array('controller' => 'album', 'action' => 'listeralbum', 'PHOTO_NUMERO' => $ligne -> PHOTO_NUMERO, 'VIP_NUMERO' => $ligne -> VIP_NUMERO)); ?>">
				<img title = "<?php echo $ligne -> PHOTO_COMMENTAIRE; ?>" height = "96 px" src = <?php echo "/images/".$ligne -> PHOTO_ADRESSE; ?>></a><?php
			echo " ";
			}
		}
		?></div><?php
	}
	?><br/><br/><?php
?>